You can use this to tailor the command line used to invoke the script itself. Note the special character sequences listed below, which are used as substitution signals (analogous to printf() formats).
ShellScriptTempl format-string
format-string
is a template for the script invocation.
It can consist of anything that is legal in a shell command, plus the following special sequences for which substitutions are made as described:
~p
~a
ShellScriptTempl ~p ~a
ShellScriptTempl $args = "~a"; do "c:/httpd/cgi-bin/pprocs/~p"might be used to run a perl script after defining the environments in perl via use of the ShellEnvFmt directive.
ShellScriptTempl ARGS="~a";CHAIN "~p"
For a hypothetical BASIC interpreter. The args string is assigned to a (hopefully) global variable, then a CHAIN is performed to start the script (BASIC program) itself.
Return to Wizard Scripting Overview